package zj.xinxin.api.moudle.security.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author junzhou
 * @date 2022/4/5 17:01
 * @since 1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class RoleDto {

    @ApiModelProperty(value = "角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色标识")
    private String roleKey;

    @ApiModelProperty(value = "角色排序")
    private Integer roleNum;

    @ApiModelProperty(value = "角色状态 （0正常 1禁用）")
    private Boolean isDisable;

    @ApiModelProperty(value = "删除状态（0正常 1删除）")
    private Boolean delFlag;
}
